<?PHP
/*Skrypt pochodzi z ksiki "PHP. 101 praktycznych skryptw"
  autor: Marcin Lis        e-mail: 101scripts@marcinlis.com*/
@$znany = $_COOKIE["znany"];
if($znany == "tak"){
  include('index1.html');
}
else{
  setCookie("znany", "tak", time() + 3600 * 24 * 30);
  include('index2.html');
}
?>

